package com.chucang.shucang.oms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author flitsneak flitsneak@gmail.com
 * @since 1.0.0 2022-10-12
 */
@Data
@TableName("oms_collection_order_item")
public class CollectionOrderItemEntity implements Serializable {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 订单编号
     */
    private String orderSn;
    /**
     * 产品序号
     */
    private Integer serialNum;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 藏品id
     */
    private Long collectionId;
}